﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.WebApi.Runtime
{
    class ActionRegInfo
    {
        public string Name { get; set; }
        public Type Type { get; set; }

        public string HttpMethod { get; set; }
        public bool IsAnonymous { get; set; }

        public ActionRegInfo(string name, Type type, string httpMethod, bool isAnonymous)
        {
            HttpMethod = httpMethod;
            IsAnonymous = isAnonymous;
            Name = name;
            Type = type;
        }
    }
}
